use inc::Module::Install;

name('Webpacus');
abstract('AJAX front-end for WebPAC');
author('Dobrica Pavlinusic C<< <dpavlin@rot13.org >>');
version_from('lib/Webpacus.pm');
license('perl');

include('ExtUtils::AutoInstall');

requires( 'Catalyst' => '5.60' );
requires( 'Catalyst::Plugin::SubRequest' );
requires( 'Catalyst::Plugin::Config::YAML' );
requires( 'Catalyst::Plugin::Prototype' );
requires( 'Catalyst::Plugin::StackTrace' );
requires( 'Catalyst::Plugin::Dumper' );
requires( 'HTML::Tidy' );
requires( 'HTML::Prototype' );
requires( 'File::Slurp' );
requires( 'Data::Dumper' );
requires( 'Time::HiRes' );
requires( 'Encode' );
requires( 'Data::HTMLDumper' );
requires( 'Search::Estraier' => '0.05' );
requires( 'Data::SpreadPagination' );
requires( 'Catalyst::View::TT::ForceUTF8' );

catalyst_files();

install_script( glob('script/*.pl') );
auto_install();
&WriteAll;
